Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerCommands Class > RunAsync Method : RunAsync(DocumentViewerAsyncOperation<Object>,String,Object) Method |
public void RunAsync( DocumentViewerAsyncOperation<object> operation, string commandName, object value )
'Declaration
Public Overloads Sub RunAsync( _ ByVal operation As DocumentViewerAsyncOperation(Of Object), _ ByVal commandName As String, _ ByVal value As Object _ )
'Usage
Dim instance As DocumentViewerCommands Dim operation As DocumentViewerAsyncOperation(Of Object) Dim commandName As String Dim value As Object instance.RunAsync(operation, commandName, value)
public: void RunAsync( DocumentViewerAsyncOperation<Object^>^ operation, String^ commandName, Object^ value )
This method works by using the thread pool to queue Run(commandName, value), then invoking Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end on either case.
The result of running the command RunHandler will be in Result
Refer to Document Viewer Commands for more information.